package com.azt.api.dto;

/**
 * 预算详情页  供应商筛选列表类
 * Created by 张栋 on 2016/9/2013:59
 */
public class EnqBgetCompInfo {

    private Integer companyId;
    private String companyName;

    public EnqBgetCompInfo(Integer companyId, String companyName) {
        this.companyId = companyId;
        this.companyName = companyName;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }


    
    
    
    /**
     * EnqEnquiryServiceImpl#getBudGetDetailWrap
     * Created by 张栋 on 2016/10/24 16:43
     */
    @Override
    public int hashCode() {
        return this.getCompanyId();
    }

    @Override
    public boolean equals(Object obj) {
        EnqBgetCompInfo other = (EnqBgetCompInfo)obj;
        return this.getCompanyId().equals(other.getCompanyId());
    }
}
